﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo04
{
    class Teacher
    {
        public string teaname;
        private string teamajor;
        protected int teaage;

        public string TeaName
        {
            get;
            set;
        }
        public void Inshow1()
        {
            Console.WriteLine("我的专业老师 {0}", teaname);
        }


    }
}
